package edu.maplef.bookwild.schema;

import java.util.UUID;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import edu.maplef.bookwild.schema.constants.RequestStatus;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Notification extends Base {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6454988367846251545L;

	@PrimaryKey
	private String id = UUID.randomUUID().toString();

	/**
	 * 发出请求用户在人人的ID
	 */
	@Persistent
	private String scrId;

	/**
	 * 接受请求用户在人人的ID
	 */
	@Persistent
	private String dstId;

	/**
	 * 请求的状态:未处理，接受，忽略，拒绝
	 */
	@Persistent
	private String NotificationStatus = RequestStatus.UNRESOLVE;

}
